Ext.define('MyApp.view.MyViewport', {
    extend: 'Ext.container.Viewport',
    requires: [
        'MyApp.view.FeedPanel',
        'MyApp.view.FeedInfo'
    ],

    padding: 5,
    layout: {
        type: 'border'
    },

    initComponent: function() {
        var me = this;

        Ext.applyIf(me, {
            items: [
                {
                    xtype: 'feedpanel',
                    id: 'feedpanel',
                    width: 250,
                    collapsible: true,
                    region: 'west'
                },
                {
                    xtype: 'feedinfo',
                    id: 'feedinfo',
                    margins: '0px 0px 0px 5px',
                    region: 'center'
                }
            ]
        });

        me.callParent(arguments);
    }

});